{% extends "common/templates/base_nav.html" %}

{% block contents %}
<h2>
  <fb:intl>The top 10 of the best slappeurs</fb:intl>
</h2>
<p>
  <fb:intl>These are friends who each day work hard for a better world !</fb:intl>
</p>

<div>
  {% for actor in sended_actors %}
  <div class="comment">
    <div class="picture"> 
      <fb:profile_pic uid="{{ actor.uid }}" size="square"></fb:profile_pic>
    </div> 
    <fb:name uid="{{ actor.uid }}" useyou="false" />, 
    <span class="actor-status">{{ actor.status }}</span>
    <p>
      {{ actor.count_sended }} <fb:intl>slaps given, and </fb:intl>
      {{ actor.count_received }} <fb:intl>received</fb:intl>.
    </p>
    <div class="more">
      <a href="{{ FACEBOOK_APP_ROOT }}/actor/{{ actor.uid }}/">
				<fb:intl>more information about him</fb:intl>
      </a>
    </div>
    <div style="clear:both"></div>
  </div>
  {% endfor %}
</div>
<div style="clear:both"></div>

<br />

<h2><fb:intl>The top ten of the most slapped</fb:intl></h2>
<p>
  <fb:intl>Here are displayed the worst friends !</fb:intl>
</p>
<div>
  {% for actor in received_actors %}
  <div class="comment">
    <div class="picture"> 
      <fb:profile_pic uid="{{ actor.uid }}" size="square"></fb:profile_pic>
    </div> 
    <fb:name uid="{{ actor.uid }}" useyou="false" />, 
    <span class="actor-status">{{ actor.status }}</span>
    <p>
      {{ actor.count_sended }} <fb:intl>slaps given, and </fb:intl>
      {{ actor.count_received }} <fb:intl>received</fb:intl>.
    </p>
    <div class="more">
      <a href="{{ FACEBOOK_APP_ROOT }}/actor/{{ actor.uid }}/">
				<fb:intl>more information about him</fb:intl>
      </a>
    </div>
    <div style="clear:both"></div>
  </div>
  {% endfor %}
</div>
<div style="clear:both"></div>
{% endblock %}
